<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>WebCodecs + WebTransport Play</title>
  <style>
    canvas {
      padding: 10px;
      background: gold;
    }

    button {
      background-color: #555555;
      border: none;
      color: white;
      padding: 15px 32px;
      width: 150px;
      text-align: center;
      display: block;
      font-size: 16px;
    }
  </style>

  <script src="./cbor.js"></script>
  <script src="./script.js"></script>
</head>

<body>

  <video id="camera" width="640" height="480" controls="true"></video>

  <canvas id="dst" width="640" height="480"></canvas>
  <script>
    document.body.onload = main;
  </script>

</body>

</html>